﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using SGRapidForm.Common;

namespace SGRapidForm.Foundation.Entity
{
    [DataContract]
    public class AreaEntity : EntityBase
    {

        #region Field
        private string _keyid = string.Empty;
        private string _areacode = string.Empty;
        private string _areaname = string.Empty;
        private string _parentkeyid = string.Empty;
        private string _helpcode = string.Empty;
        private string _adminareacd = string.Empty;
        private string _adminareaname = string.Empty;
        private bool _issys = false;
        #endregion Field

        #region Properties
        [DataMember]
        public string Keyid
        {
            set { _keyid = value; }
            get { return _keyid; }
        }
        [DataMember]
        public string AreaCode
        {
            set { _areacode = value; }
            get { return _areacode; }
        }
        [DataMember]
        public string AreaName
        {
            set { _areaname = value; }
            get { return _areaname; }
        }
        [DataMember]
        public string ParentKeyid
        {
            set { _parentkeyid = value; }
            get { return _parentkeyid; }
        }
        [DataMember]
        public string HelpCode
        {
            set { _helpcode = value; }
            get { return _helpcode; }
        }
        [DataMember]
        public string AdminAreacd
        {
            set { _adminareacd = value; }
            get { return _adminareacd; }
        }
        [DataMember]
        public string AdminAreaName
        {
            set { _adminareaname = value; }
            get { return _adminareaname; }
        }
        [DataMember]
        public bool IsSys
        {
            set { _issys = value; }
            get { return _issys; }
        }
        #endregion Properties

        #region Constact
        public AreaEntity()
        { }
        #endregion Constact
    }
}
